package edu.corn.job.core.parser;

import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import lombok.Setter;

import java.util.List;

import static edu.corn.job.core.parser.TaskList.TASK_LIST;

@Setter
@XmlRootElement(name = TASK_LIST)
public class TaskList {
    public static final String TASK_LIST = "tasks";



    private List<Task> task;

    @XmlElement(name = TASK_LIST)
    public List<Task> getTask() {
        return task;
    }

}
